package com.icinfo.cloud.provider.punish.ucase.casemain.dto;

import com.icinfo.cloud.common.core.Validator.BaseGroup;
import com.icinfo.cloud.provider.punish.ucase.caseregister.dto.CaseHandlePersonInfoDto;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 描述：案件承办人信息调整数据传输对象
 *
 * @author xiangyuyu
 * @date 2022/6/17 16:35
 */
@Data
@NoArgsConstructor
public class CaseHandlePersonAdjustDto {
    /**
     * 办案人员列表
     */
    @NotNull(message = "办案人员不能为空",groups = BaseGroup.Update.class)
    private List<CaseHandlePersonInfoDto> handlePersonInfoList;

    /**
     * 案件id
     */
    @NotBlank(message = "请指定案件id")
    private String caseId;

    /**
     * 调整理由
     */
    @NotBlank(message = "请指定调整理由")
    private String adjustReason;
    /**
     * 调整原因类型；1 人事调动,2 办案回避,3 业务调动,4 其他
     */
    private String adjustReasonType;
    /**
     * 附件列表
     */
    private List<CaseAttachmentInfoSaveDto> attachmentInfo;
}
